package cn.weyoungstudio.hwes.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


public class Quota implements Serializable {


    private static final long serialVersionUID = 1L;
    private Integer quotaId;
    private String quotaName;
    private BigDecimal quotaValue;
    private String tag;
    private Date createTime;
    private Date updateTime;

    /**
     * @return quota_id
     */
    public Integer getQuotaId() {
        return quotaId;
    }

    /**
     * @param quotaId
     */
    public void setQuotaId(Integer quotaId) {
        this.quotaId = quotaId;
    }

    /**
     * @return quota_name
     */
    public String getQuotaName() {
        return quotaName;
    }

    /**
     * @param quotaName
     */
    public void setQuotaName(String quotaName) {
        this.quotaName = quotaName == null ? null : quotaName.trim();
    }

    /**
     * @return quota_value
     */
    public BigDecimal getQuotaValue() {
        return quotaValue;
    }

    /**
     * @param quotaValue
     */
    public void setQuotaValue(BigDecimal quotaValue) {
        this.quotaValue = quotaValue;
    }

    /**
     * @return tag
     */
    public String getTag() {
        return tag;
    }

    /**
     * @param tag
     */
    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", quotaId=").append(quotaId);
        sb.append(", quotaName=").append(quotaName);
        sb.append(", quotaValue=").append(quotaValue);
        sb.append(", tag=").append(tag);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}